'''
Author: caishuyang
Date: 2023-01-08 15:16:29
LastEditors: caishuyang
LastEditTime: 2023-01-09 18:22:12
Description: 
'''
from Ball import Ball
from Contain import Contain
import os
from Generator import Generator
import cv2

g=Generator()
count=0
time=10
n=int(time/g.deltat)

flag=True
while flag:
    g.updateX()
    g.updateVz()
    g.cProgress()
    g.updateA()
    g.painter2D()
    key=cv2.waitKey(1)
    if key=='q':
        flag=False
cv2.destroyAllWindows()


    



